package com.px.main.action;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

	public static void main(String[] args) {
		//加载xml文件
		ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
		//获取Mapper 对象
		Object object = ctx.getBean("userinfoMapper");
	}
}
